gusucode.com > 支持向量机工具箱 - LIBSVM OSU_SVM LS_SVM源码程序 > 支持向量机工具箱 - LIBSVM OSU_SVM LS_SVM\stprtool\linear\ictransf.m
function [alpha,theta]=ictransf(oalpha) % ICTRANSF complementary trasformation to ctransf. % [alpha,theta]=ictransf(oalpha) % % ICTRANSF is a complementary function of CTRANSF. % Refer to CTRANSF for more description. % % Input: % oalpha [(N+1)x1] is a vector in transformed feature space. % % Output: % alpha [N,1] a column vector in the original feature space. % theta [1x1] a threshold in the original feature space. % % See also CTRANSF, HOMOG2. % % Statistical Pattern Recognition Toolbox, Vojtech Franc, Vaclav Hlavac % (c) Czech Technical University Prague, http://cmp.felk.cvut.cz % Written Vojtech Franc (diploma thesis) 11.4.2000 % Modifications % 24. 6.00 V. Hlavac, comments polished. % dimension D=max(size(oalpha)); % transform alpha alpha=oalpha(1:D-1); theta=-oalpha(D);